package com.example.exercise.demo.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.exercise.demo.vo.AppThumbupVO;
import com.example.exercise.demo.dao.entity.AppThumbupEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
*/
public interface AppThumbupDAO {

    List<AppThumbupEntity> findByWhere(Page<?> page, @Param("param") AppThumbupVO appThumbupVO);

    AppThumbupEntity findByKey(@Param("param") AppThumbupVO appThumbupVO);

    int insert(@Param("param") AppThumbupEntity appThumbupEntity);

    int updateByKey(@Param("param") AppThumbupEntity appThumbupEntity);

    int deleteByKey(@Param("param") AppThumbupVO appThumbupVO);

}